package com.learn.admin.modules.sys.service;

import com.learn.admin.modules.sys.entity.User;
import com.learn.admin.modules.sys.utils.UserUtils;
import org.springframework.stereotype.Service;

@Service("systemService")
public class SystemService {

    public User getUserByLoginName(String loginName) {
        return UserUtils.getByLoginName(loginName);
    }
}
